<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>htmlcss 阶段</title>
    <style>
        body {
            display: flex;
            flex-wrap: wrap;
        }
    </style>
</head>
<body>
    <div></div>
<script>
    // 要求：
        // 把face目录的图标，列表渲染在页面上（不使用document.write）
        for(var i = 1 ; i < 75 ; i ++) {
            // var divs = document.getElementsByTagName("div");
            // var div = document.createElement("div");
            // div.style["width"] = "1000px";
            // div.style["height"] = "600px";
            var img = document.createElement("img");
            img.src = "./face/" +i +".gif";
            img.style.padding = "10px";
            img.style.backgroundColor = "rgb(240,240,240)";
            img.style.margin = "1px";
            document.body.appendChild(img);
        }
        
</script>
</body>
</html>